
	<div class="content-box">
	<div class="box-body">
	<div class="box-header clear">
	
	
	<h2>Đánh giá chất lượng Đoàn Viên của Chi Đoàn <?php echo $union_id?> trong năm học <?php echo date('Y');?></h2>
	</div>
	
	<div class="box-wrap clear"><!-- TABLE -->
	
	<?php echo $form->create('UnionMember') ?>
	<table class="style1">
		<thead>
			<tr>
				<th>Mã số</th>
				<th>Họ tên</th>
				<th>Phái</th>
				<th>ĐRL</th>
				<th>Xếp loại</th>
				<th>Đánh giá</th>
			</tr>
		</thead>
	
		<tbody>
			<?php foreach ($members as $member) {
			?>
			<tr>
				<td><?php echo $member['UnionMembers']['id'] ?></td>
				<td><?php echo $member['UnionMembers']['lastname'].' '.$member['UnionMembers']['firstname'] ?></td>
				<td><?php 
				if($member['UnionMemberDetails']['sex']==0) echo 'Nữ';
				else echo 'Nam'; 
				?>
				</td>
				<td><?php echo $member['Biographies']['total_point']?></td>
				<td><?php echo $member['Biographies']['result'] ?></td>
				<td>
					<?php echo $html->image("admin/ico_edit_16.png", array(
						"alt" => "Đánh giá",
						'url' => array('controller' => 'biographies', 'action' => 'umRate', $member['UnionMembers']['id'])
						)); ?>
				</td>
				
			</tr>
			<?php } ?>
		</tbody>
	</table>
	
	<div class="tab-footer clear">
	

	
	</div>
	<?php echo $form->end(); ?>
	</div>
	<!-- /#table --></div>
	<!-- end of box-wrap --></div>
	
	<!-- end of content-box -->
	
